package cn.yy.cm.config;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 描述: 扫描Mapper接口注解类
 *
 * @author: yanglin
 * @Date: 2021-11-29-10:11
 * @Version: 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(value = DImportBeanDefinitionRegistrar.class)
public @interface DMapperScan {

    /**
     * Mapper接口类包路径
     *
     * @return
     */
    String value();
}
